<template>
  <el-card class="print_card mapanPrint">
    <el-form>
      <el-row class="clearfix">
        <span class="title">{{dialogPrint.data.time}}</span>
        <span class="title right">{{ dialogPrint.data.index+'/'+dialogPrint.data.totals }}</span>
      </el-row>
      <el-row class="asnbh"></el-row>
      <el-row>
        <el-form-item prop="bh" label="cckw姓名">
          <div class="s-content">{{dialogPrint.data.cckwmc}}</div>
        </el-form-item>
        <el-form-item prop="mc" label="供应商姓名">
          <div class="s-content">{{dialogPrint.data.gysmc}}</div>
        </el-form-item>
        <el-form-item prop="gysmc" label="货品名称">
          <div class="s-content">{{dialogPrint.data.hpmc}}</div>
        </el-form-item>
      </el-row>
      <div class="clearfix">
        <div class="mapanbh">
          <el-form-item prop="scrq" label="生产日期">
            <div class="s-content">{{dialogPrint.data.scrq}}</div>
          </el-form-item>
          <el-form-item prop="hppc" label="货品批号">
            <div class="s-content">{{dialogPrint.data.hppc}}</div>
          </el-form-item>
        </div>
        <div class="mapanbh"></div>
      </div>
    </el-form>
  </el-card>
</template>
<script>
  export default {
    props: {
      dialogPrint: { // menu 树
        type: Object,
        require: true,
      },
    },
  };
</script>
